
package com.ssi.tatts.model.hibernate.domainobjects;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.etu.jsonservices.util.StringUtils;
import com.ssi.tatts.model.IMetric;

@SuppressWarnings("serial")
@Entity
@Table(name="Metrics")

public class Metric implements IMetric{
	@Id
	private Long id;
	private String name;

	private Long productivityType;
	
	public Long getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String toString(){
		return StringUtils.toJSONString(this);
	}
		
	public Long getProductivityType() {
		return this.productivityType;
	}

	public void setProductivityType(Long productivityType) {
		this.productivityType = productivityType;
	}
	
}
